package com.catsic.pub.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.catsic.base.BaseEntity;


/**
 * ClassName: File
 * Description: 文件实体类
 * date: 2014年2月28日 上午10:34:00
 * author: Administrator
 */
 
@Entity
@Table(name="S_FILE")
public class FileUpload extends BaseEntity implements Serializable{

	/**
	 * serialVersionUID:serialVersionUID
	 */
	private static final long serialVersionUID = -8258941811024169809L;
	
	/**
	 * 关联的业务主键
	 */
	@Column(name="FID")
	private String fid;
	
	/**
	 * 文件名称
	 */
	@Column(name="FILENAME")
	private String fileName;
	
	/**
	 * 随机文件名称
	 */
	@Column(name="RANDOMFILENAME")
	private String randomFileName;

	public String getFid() {
		return fid;
	}

	public void setFid(String fid) {
		this.fid = fid;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getRandomFileName() {
		return randomFileName;
	}

	public void setRandomFileName(String randomFileName) {
		this.randomFileName = randomFileName;
	}

}